<?php
    /**
     * Created by PhpStorm.
     * User: huangzhongwei
     * Date: 2018/10/24
     * Time: 11:00
     */

    namespace app\api\validate;


    class Goods extends BaseValidate
    {
        protected $rule = [
            'goods_name'    => 'require|isNotEmpty',
            'goods_type_id' => 'require|isPositiveInteger',
        ];
        protected $message = [
            'goods_name' => '商品名称不能为空',
        ];
    }